package com.reebake.ideal.message.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 发送给终端的消息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TerminalMessageDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    
    private String id;
    
    private String type;
    
    private String title;
    
	private String receiver;
	
    private String sender;
    
    private String content;
    
    private Date time;
    
}

